home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / RLaB 1.18c / manual / isempty.tex < prev    next >
LaTeX Document  |  1994-05-01  |  945 b   |  [TEXT/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: isempty.tex

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text, with CR line terminators default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[CR] default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 69 73 65 6d 70 74 79 |\section|{isempty|
|00000010| 20 2d 2d 2d 20 54 65 73 | 74 20 66 6f 72 20 7a 65 | --- Tes|t for ze|
|00000020| 72 6f 20 6c 65 6e 67 74 | 68 20 6d 61 74 72 69 78 |ro lengt|h matrix|
|00000030| 7d 0d 5c 6c 61 62 65 6c | 7b 66 6e 3a 69 73 65 6d |}.\label|{fn:isem|
|00000040| 70 74 79 7d 0d 5c 69 6e | 64 65 78 7b 69 73 65 6d |pty}.\in|dex{isem|
|00000050| 70 74 79 28 29 7d 0d 5c | 69 6e 64 65 78 7b 74 65 |pty()}.\|index{te|
|00000060| 73 74 20 66 6f 72 20 7a | 65 72 6f 20 6c 65 6e 67 |st for z|ero leng|
|00000070| 74 68 20 6d 61 74 72 69 | 78 7d 0d 5c 62 65 67 69 |th matri|x}.\begi|
|00000080| 6e 7b 72 61 69 6c 7d 0d | 49 73 65 6d 70 74 79 20 |n{rail}.|Isempty |
|00000090| 3a 20 27 69 73 65 6d 70 | 74 79 27 20 27 28 27 20 |: 'isemp|ty' '(' |
|000000a0| 4d 61 74 72 69 78 20 20 | 27 29 27 20 3b 0d 5c 65 |Matrix |')' ;.\e|
|000000b0| 6e 64 7b 72 61 69 6c 7d | 0d 0d 5c 76 65 72 62 2b |nd{rail}|..\verb+|
|000000c0| 69 73 65 6d 70 74 79 2b | 20 72 65 74 75 72 6e 73 |isempty+| returns|
|000000d0| 20 24 31 24 20 69 66 20 | 74 68 65 20 61 72 67 75 | $1$ if |the argu|
|000000e0| 6d 65 6e 74 20 6d 61 74 | 72 69 78 20 69 73 20 6e |ment mat|rix is n|
|000000f0| 6f 74 20 65 6d 70 74 79 | 2e 20 0d 4f 74 68 65 72 |ot empty|. .Other|
|00000100| 77 69 73 65 20 69 74 20 | 72 65 74 75 72 6e 73 20 |wise it |returns |
|00000110| 24 30 24 2e 0d 0d 24 5c | 4c 6f 6e 67 72 69 67 68 |$0$...$\|Longrigh|
|00000120| 74 61 72 72 6f 77 24 20 | 54 68 69 73 20 69 73 20 |tarrow$ |This is |
|00000130| 6e 6f 74 20 61 6e 20 5c | 52 4c 61 42 5c 20 62 75 |not an \|RLaB\ bu|
|00000140| 69 6c 74 2d 69 6e 20 66 | 75 6e 63 74 69 6f 6e 2e |ilt-in f|unction.|
|00000150| 20 20 54 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 0d | This f|unction.|
|00000160| 69 73 20 6e 6f 72 6d 61 | 6c 6c 79 20 6c 6f 61 64 |is norma|lly load|
|00000170| 65 64 20 6f 6e 20 73 74 | 61 72 74 2d 75 70 20 66 |ed on st|art-up f|
|00000180| 72 6f 6d 20 74 68 65 20 | 5c 76 65 72 62 2b 69 73 |rom the |\verb+is|
|00000190| 65 6d 70 74 79 2e 72 2b | 20 66 69 6c 65 20 69 6e |empty.r+| file in|
|000001a0| 20 74 68 65 0d 73 74 61 | 6e 64 61 72 64 20 5c 76 | the.sta|ndard \v|
|000001b0| 65 72 62 2b 72 6c 69 62 | 2b 20 64 69 72 65 63 74 |erb+rlib|+ direct|
|000001c0| 6f 72 79 2e 20 55 73 65 | 20 6f 66 20 74 68 65 20 |ory. Use| of the |
|000001d0| 5c 76 65 72 62 2b 2d 72 | 2b 20 6f 70 74 69 6f 6e |\verb+-r|+ option|
|000001e0| 2c 20 69 6e 63 6f 72 72 | 65 63 74 6c 79 20 0d 73 |, incorr|ectly .s|
|000001f0| 65 74 74 69 6e 67 20 74 | 68 65 20 5c 76 65 72 62 |etting t|he \verb|
|00000200| 2b 52 4c 41 42 5f 4c 49 | 42 5f 44 49 52 2b 20 65 |+RLAB_LI|B_DIR+ e|
|00000210| 6e 76 69 72 6f 6e 6d 65 | 6e 74 61 6c 20 76 61 72 |nvironme|ntal var|
|00000220| 69 61 62 6c 65 2c 20 6f | 72 20 6d 6f 64 69 66 79 |iable, o|r modify|
|00000230| 69 6e 67 0d 5c 76 65 72 | 62 2b 69 73 65 6d 70 74 |ing.\ver|b+isempt|
|00000240| 79 2e 72 2b 20 6d 61 79 | 20 6d 61 6b 65 20 74 68 |y.r+ may| make th|
|00000250| 69 73 20 66 75 6e 63 74 | 69 6f 6e 20 75 6e 61 76 |is funct|ion unav|
|00000260| 61 69 6c 61 62 6c 65 2e | 0d 0d 0d 5c 70 61 72 61 |ailable.|...\para|
|00000270| 67 72 61 70 68 7b 45 78 | 61 6d 70 6c 65 7d 0d 5c |graph{Ex|ample}.\|
|00000280| 69 6e 64 65 78 7b 65 78 | 61 6d 70 6c 65 20 6f 66 |index{ex|ample of|
|00000290| 20 69 73 65 6d 70 74 79 | 28 29 7d 0d 5c 69 6e 64 | isempty|()}.\ind|
|000002a0| 65 78 7b 69 73 65 6d 70 | 74 79 28 29 21 65 78 61 |ex{isemp|ty()!exa|
|000002b0| 6d 70 6c 65 7d 0d 5c 62 | 65 67 69 6e 7b 76 65 72 |mple}.\b|egin{ver|
|000002c0| 62 61 74 69 6d 7d 0d 3e | 20 69 73 65 6d 70 74 79 |batim}.>| isempty|
|000002d0| 28 5b 32 2c 34 5d 29 0d | 20 20 20 20 20 20 20 20 |([2,4]).| |
|000002e0| 30 20 20 0d 3e 20 69 73 | 65 6d 70 74 79 28 5b 5d |0 .> is|empty([]|
|000002f0| 29 0d 20 20 20 20 20 20 | 20 20 31 20 20 0d 3e 20 |). | 1 .> |
|00000300| 69 73 65 6d 70 74 79 28 | 7a 65 72 6f 73 28 31 2c |isempty(|zeros(1,|
|00000310| 31 29 29 0d 20 20 20 20 | 20 20 20 20 30 20 20 0d |1)). | 0 .|
|00000320| 3e 20 69 73 65 6d 70 74 | 79 28 7a 65 72 6f 73 28 |> isempt|y(zeros(|
|00000330| 30 2c 30 29 29 0d 20 20 | 20 20 20 20 20 20 31 20 |0,0)). | 1 |
|00000340| 20 0d 3e 20 69 73 65 6d | 70 74 79 28 65 79 65 28 | .> isem|pty(eye(|
|00000350| 30 2c 30 29 29 0d 20 20 | 20 20 20 20 20 20 31 20 |0,0)). | 1 |
|00000360| 20 0d 3e 20 61 20 3d 20 | 5b 5d 0d 20 61 20 3d 0d | .> a = |[]. a =.|
|00000370| 20 20 20 20 20 20 20 20 | 5b 5d 0d 3e 20 69 73 65 | |[].> ise|
|00000380| 6d 70 74 79 28 61 29 0d | 20 20 20 20 20 20 20 20 |mpty(a).| |
|00000390| 31 20 20 0d 5c 65 6e 64 | 7b 76 65 72 62 61 74 69 |1 .\end|{verbati|
|000003a0| 6d 7d 0d 0d 0d 5c 6e 65 | 77 70 61 67 65 0d 0d 0d |m}...\ne|wpage...|
|000003b0| 0d | |. | |
+--------+-------------------------+-------------------------+--------+--------+